projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83503cb
)
inspector: Show the default GApplication in the tree
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 9 May 2014 00:32:42 +0000
(20:32 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 11 May 2014 02:04:26 +0000
(22:04 -0400)
This is a handy object to have quickly available.
modules/inspector/widget-tree.c
patch
|
blob
|
history
diff --git
a/modules/inspector/widget-tree.c
b/modules/inspector/widget-tree.c
index 880b4a19ca81144e45714d18296e68db5ce99968..df81096907a235e8a45c4f146ea687c03d59a025 100644
(file)
--- a/
modules/inspector/widget-tree.c
+++ b/
modules/inspector/widget-tree.c
@@
-279,6
+279,8
@@
gtk_inspector_widget_tree_scan (GtkInspectorWidgetTree *wt,
gtk_tree_store_clear (wt->priv->model);
g_hash_table_remove_all (wt->priv->iters);
gtk_inspector_widget_tree_append_object (wt, G_OBJECT (gtk_settings_get_default ()), NULL, NULL);
+ if (g_application_get_default ())
+ gtk_inspector_widget_tree_append_object (wt, G_OBJECT (g_application_get_default ()), NULL, NULL);
gtk_inspector_widget_tree_append_object (wt, G_OBJECT (window), NULL, NULL);
gtk_tree_view_columns_autosize (GTK_TREE_VIEW (wt));